<template>
	<view>
		<!-- 共识票明细 -->
		<hx-navbar title="共识票明细" :back="true" :fixed="false" :color="knavTitleColor" barPlaceholder="hidden"
			transparent="auto"></hx-navbar>
		<view class="body_class">
			<view class="body_head_mess">
				<view class="head_image">
					<image style="width: 100%;height: 100%;" src="../../../static/logo.png" mode=""></image>
				</view>
				<view class="head_name_mess">
					我的昵称
				</view>
			</view>
			<view class="mess mage10" :style="{'background':buttonBcak}">
				<view class="mess_mess">
					数据概览
				</view>
				<view class="mess_datail">
					<view class="one">
						共识票
					</view>
					<view class="two">
						4567876543
					</view>
				</view>
			</view>
			<view class="detail">
				<view class="" style="border-bottom: 1px solid #dadada;height: 150rpx;"
					v-for="item in list">
					<view class="detail_left">
						<view class="detail_name">
							<view class="" >
								<image :src="item.Image"
									style="width: 40rpx;height: 40rpx;border-radius: 40rpx;margin-top: 25rpx;" mode="">
								</image>
							</view>
							<view class="" style="margin-left: 20rpx;">
								{{item.name}}
							</view>
						</view>
					<view class="">
							<view class="detail_sumUP">
											比赛场次:		{{item.sumUp}}
												</view>
					</view>
						
					</view>
					
					<view class="detail_right">
						<view class="detail_date">
												{{item.date}}
											</view>
											<view class="detail_sum">
																	{{item.sum}}
																</view>
							</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				selectColorSize: this.$store.state.selectColorSize, //字体颜色
				buttonBcak: this.$store.state.buttonBcak, //按钮颜色
				list: [{
					id: 1,
					name: "投给***作品",
					date: "区块链钱包：377777777eywyw",
					sum: '+1',
					sumUp: "20230621",
					Image: '../../../static/test.png'
				}, {
					id: 2,
					name: "投给***作品",
					date: "区块链钱包：377777777eywyw",
					sum: '+1',
					sumUp: "12",
					Image: '../../../static/test.png'
				}, {
					id: 3,
					name: "投给***作品",
					date: "区块链钱包：377777777eywyw",
					sum: '+1',
					sumUp: "12",
					Image: '../../../static/test.png'
				}, ]
			}
		},
		onPullDownRefresh() {

			setTimeout(function() {
				uni.stopPullDownRefresh()
			}, 2000)

		},
		methods: {
			ticketDetail() {

			}
		}
	}
</script>

<style lang="scss" scoped>
	.mage10 {
		margin: 30rpx auto;
	}

	.body_class {
		margin: 10rpx auto;
		width: 690rpx;
		

	}

	.body_head_mess {
		display: flex;

		.head_image {
			width: 56rpx;
			height: 56rpx;
			border-radius: 50rpx;
		}

		.head_name_mess {
			margin-left: 20rpx;
			width: 120rpx;
			height: 50rpx;
			font-size: 30rpx;
			font-weight: 400;
			color: #333333;
			line-height: 50rpx;
		}
	}

	.mess {
		border-radius: 10rpx;
		width: 690rpx;
		height: 149rpx;

		.mess_mess {
			text-align: center;
			width: 186rpx;
			height: 40rpx;
			font-weight: 400;
			color: #e5e5e5;
			line-height: 55rpx;
		}

		.mess_datail {
			width: 500rpx;
			text-align: center;
			margin: 1rpx auto;

			.one {
				height: 34rpx;
				font-size: 24rpx;
				font-weight: 400;
				color: #e5e5e5;
				line-height: 14rpx;
			}

			.two {
				height: 48rpx;
				font-size: 40rpx;
				font-weight: bold;
				color: #FFFFFF;
				line-height: 48rpx;
			}
		}


	}

	.detail {}

	.detail_left {
		width: 650rpx;
     display: flex;
	 justify-content: space-between;
	}

	.detail_name {
		width: 250rpx;
		display: flex;
		height: 90rpx;
		font-size: 30rpx;
		font-weight: 500;
		color: #333333;
		line-height: 90rpx;
	}

	.detail_date {
		width: 414rpx;
		height: 56rpx;
		font-size: 26rpx;
		font-weight: 400;
		color: #999999;
		line-height: 56rpx;
	}

	.detail_right {
		width: 650rpx;
		display: flex;
		justify-content: space-between;

	}

	.detail_sum {
		line-height: 26rpx;
		font-size: 26rpx;
		font-weight: bold;
		color: #673DE7;

	}

	.detail_sumUP {
		height: 90rpx;
		line-height: 90rpx;
		font-size: 26rpx;
		font-weight: 400;
		color: #7051DD;
	}
</style>